// dlg.txt

//mark_quest_dest(zone,x,y,layer,quest);
//	code =
//		sf(,,2);
//		toggle_quest(19,10);
//		award_party_xp(MED_QUEST_XP);
//	break;

begintalkscript;

variables;

short this_town = 43;

begintalknode;
	tag = 1;
	condition = get_sdf(this_town,1) == 0;
	text1 = "You enter the High Litha city of Jajayim. It is an old settlement. Crude buildings have been built here, crumbled, and rebuilt for centuries. The air is cold and the ground is dusted with snow. Few people are foolish enough to spend time outside.";
	text2 = "The High Lithans are a poor, odd, and remote people. For all you heard of the Ro growing up, you know almost nothing about them.";
	text3 = "There is a large stone hall, worn and crumbling, at the base of the cliff wall to the north. That must be the Raasa's hall. Haven's governor must be here too, although you can't immediately tell which run-down shack represents your Empire.";
	code =
		sf(this_town,1,1);
		if (gf(80,12) < 2)
			sf(80,12,2);
	break;
	
begintalknode;
	tag = 2;
	condition = get_sdf(this_town,2) == 0 && gf(48,14) > 0;
	text1 = "You return to the town of Jajayim. Before, it was just cold and remote. Distant people can be rude, but they aren't threatening.";
	text2 = "Now, there is tension in the air. The guards watch you as you pass. So does everyone else. They try to hide that they're watching you, but you can tell. Under the wind, you can hear angry muttering.";
	text3 = "The Lithans are angry about the destruction of the Fangs of Judgment. Not necessarily a problem. Your vassals get mad at you all the time.";
	text4 = "The real question is: What will they do now?";
	code =
		sf(this_town,2,1);
	break;

begintalknode;
	tag = 3;
	condition = get_sdf(this_town,3) == 0;
	text1 = "Jajayim is built at the base of a tall cliff, which protects the town from the worst of the icy winds. The Raasa's hall is to the north.";
	text2 = "There is a huge courtyard in front of the hall. This place must be used for significant events. Large crowds of people come together to meet. For what, you aren't sure.";
	text3 = "Now the broad expanse is empty. Wisps of snow blow across the stone. While you are here, the Lithans hide in their homes, watching you through the windows.";
	code =
		sf(this_town,3,1);
	break;

begintalknode;
	tag = 4;
	condition = get_sdf(this_town,4) == 0;
	text1 = "__";

	code =
		sf(this_town,4,1);
	break;

begintalknode;
	tag = 5;
	condition = get_sdf(this_town,5) == 0;
	text1 = "You enter the hall of the Raasa. It is not what you expected.";
	text2 = "It is cold, dark, and empty. No guards, no workers. Nobody sees you enter. There's nobody here at all.";
	text3 = "Well, maybe one person. In the hall ahead, you hear a lone figure walking around. She hums quietly to herself, the lone sign of life.";
	code =
		sf(this_town,5,1);
	break;

begintalknode;
	tag = 6;
	condition = get_sdf(this_town,6) == 0;
	text1 = "This is Haven's hall in the High Litha. As you enter, lines of guards rise. They are ready to greet you.";
	text2 = "There are a lot of guards. They salute you through massive iron bars and politely point their ballista away from you.";
	text3 = "The town seemed quiet enough, but the soldiers defending your hall are heavily armed and highly alert. Interesting.";
	code =
		sf(this_town,6,1);
	break;

begintalknode;
	tag = 7;
	condition = get_sdf(this_town,7) == 0;
	text1 = "__";
	code =
		sf(this_town,7,1);
	break;

begintalknode;
	tag = 8;
	condition = get_sdf(this_town,8) == 0;
	text1 = "__";
	code =
		sf(this_town,8,1);
	break;

begintalknode;
	tag = 9;
	condition = get_sdf(this_town,9) == 0;
	text1 = "__";
	code =
		sf(this_town,9,1);
	break;

begintalknode;
	tag = 10;
	condition = get_sdf(this_town,10) == 0;
	text1 = "__";
	code =
		sf(this_town,10,1);
	break;

begintalknode;
	tag = 11;
	condition = get_sdf(this_town,11) == 0;
	text1 = "__";
	code =
		sf(this_town,11,1);
	break;

begintalknode;
	tag = 12;
	condition = get_sdf(this_town,12) == 0;
	text1 = "__";
	code =
		sf(this_town,12,1);
	break;

// MIXED

begintalknode;
	tag = 13;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 14;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 15;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 16;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 17;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 18;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 19;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 20;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 21;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 22;
	condition = 1;
	text1 = "__";

//// Watcher Iuliana

begintalknode;
	tag = 30;
	state = -1;
	nextstate = 10;
	condition = 1;
	question = "Name";
	text1 = "You have found exactly one person in the hall of the Raasa. She is tall, pale, and thin, like most High Lithans. She is wandering the halls, whispering to herself. The accumulating dust and cobwebs don't bother her.";
	text2 = "When you come into view, she approaches you. She doesn't bow. She has the cold, haughty air of the High Lithans, though she occasionally favors you with a small smile.";
	text3 = "_Welcome to the hall of the Raasa. A place of great honor to our province, even if it is quiet at the moment. I am Watcher Iuliana, assistant to Raasa Suharum. And you, unless I am mistaken, are a Havenite._";
	text5 = "Watcher Iuliana continues to speak with you, sort of. She says little, mainly idle chat about the weather. You might as well be in a small farmhouse somewhere. At least she eventually offers you a stool and some tea.";
	action = INTRO;

begintalknode;
	state = 10;
	nextstate = 11;
	condition = gf(43,11) == 0;
	question = "_I am [P] [N] of Haven, sent by Queen Sharyn III of Haven on a mission of diplomatic importance._";
	text1 = "_Graciously said. I have no such lofty post. I aid our Raasa. I don't speak for him._";
	text2 = "She notes the insignia on your shoulder. _And you are the [P]. I heard you might be coming._";

begintalknode;
	state = 10;
	nextstate = 11;
	condition = gf(43,11) == 0;
	question = "_I'm a diplomat, I guess. I was sent with a job to do. Let's get this over with._";
	text1 = "Watcher Iuliana's little half-smile doesn't fade. _Of course. Haven prefers to deal with its poor mountain vassal in the most efficient way possible. That is what we expect._";
	text2 = "She notes the insignia on your shoulder. _You are the [P]. I heard you might be coming._";

begintalknode;
	state = 10;
	nextstate = 11;
	condition = gf(43,11) == 0;
	question = "_Hi._";
	text1 = "Your lack of speech throws her off balance. The High Lithans are a quiet people. They prefer to let their visitors exhaust themselves with speech, while they just spare. There is a long silence. It grows too awkward for her first.";
	text2 = "She notes the insignia on your shoulder. _And you are the [P]. I heard you might be coming._";

begintalknode;
	state = 11;
	nextstate = 12;
	condition = 1;
	question = "_I have been sent to hear your Raasa's petition._";
	text1 = "_I thought so. We knew that Haven was sending a full diplomatic mission. That means petitions. We are grateful that you are here to find out what we need from you._";
	text2 = "_However, I have sad news. Raasa Suharum is not here._";
	text3 = "At least this Watcher is more talkative than the other Ro. Even if you don't care for what she is saying.";
	
begintalknode;
	state = 12;
	nextstate = -1;
	condition = 1;
	question = "_And when will Raasa Suharum be back?_";
	text1 = "_I'm afraid I can't say. I can't control the will of the Raasa._";

begintalknode;
	state = 12;
	nextstate = -1;
	condition = 1;
	question = "_That's all right. I'll take the petition from you._";
	text1 = "_Ahhhh. No. I don't have the power to speak for the Raasa. If I tried to take that power, the Geld Nas would be sent very quickly._";
	text2 = "_Also, Raasa Suharum is very wise. I don't want to talk for him._";

begintalknode;
	state = 12;
	nextstate = 13;
	condition = 1;
	question = "_Where is Raasa Suharum?_";
	text1 = "_When he left, some days again, he said that he had business upward. Sorry. That means that he had to go to the higher, colder northern portion of the High Litha._";
	text2 = "_He may still be there. Or not. I can't tell you._";

begintalknode;
	state = 13;
	nextstate = 10;
	condition = 1;
	question = "_I will wait here until Raasa Suharum comes._";
	text1 = "Still, that unnerving smile. _That is your decision. You might be waiting for days. Months? If the Raasa dies during your delay, you may wait for years. It is your decision._";
	text2 = "_Again, I'm sorry I can't be more helpful. Is there anything else I can do for you?_";
	code =
		sf(43,11,1);
		toggle_quest(11,3);

	break;

begintalknode;
	state = 13;
	nextstate = 10;
	condition = 1;
	question = "_I want Raasa Suharum summoned. Now. Or else._";
	text1 = "Still, that unnerving smile. _You may shout all you wish, [P], but I doubt that Raasa Suharum will be able to hear you from this distance. I'm sure you wouldn't punish us for a choice our Raasa made. Is that Haven's justice?_";
	text2 = "_Again, I'm sorry I can't be more helpful. Is there anything else I can do for you?_";
	code =
		ro_faction(-2);
		violence(2);
		sf(43,11,1);
		toggle_quest(11,3);
	break;

begintalknode;
	state = 13;
	nextstate = 10;
	condition = 1;
	question = "_Fine. I will go hunt your Raasa down._";
	text1 = "_If you want the matter settled in a reasonable amount of time, that may be your only choice. To get to the northern Litha, follow the Pilgrimage Road. That seems the best way to start._";
	text2 = "_Again, I'm sorry I can't be more helpful. Is there anything else I can do for you?_";
	code =
		ro_faction(1);
		sf(43,11,1);
		toggle_quest(11,3);
	break;
	
begintalknode;
	state = 10;
	nextstate = 14;
	condition = gf(43,11) > 0 && gf(80,12) < 7;
	question = "_I still need to talk to Raasa Suharum._";
	text1 = "_Alas, the Raasa is still not here. Trust me when I say that we miss his presence too. I can't send him any messages._";
	text2 = "_As rude as it may seem, you will have to go to the Raasa. Again, I apologize._";

begintalknode;
	state = 14;
	nextstate = 15;
	condition = 1;
	question = "_Where should I look?_";
	text1 = "_Raasa Suharum left us to go to the northern High Litha. He may still be there._";

begintalknode;
	state = 15;
	nextstate = -1;
	condition = gf(80,12) < 3;
	question = "_How do I enter the northern High Litha?_";
	text1 = "_Leave Jajayim. You will find the Pilgrimage Road not far to the south. Follow it north, as countless generations of Ro have done before you, and it will take you to our inner lands._";

begintalknode;
	state = 15;
	nextstate = 24;
	condition = gf(80,12) >= 3 && gf(80,12) <= 5;
	question = "_A gate is keeping me out of the High Litha._";
	text1 = "You describe the situation to Watcher Iuliana. She listens with great interest. Yet, you can't tell if she was familiar with the situation or not.";
	text2 = "_So some clan or faction has seized the Fangs of Judgment. They are preventing Haven from ascending into our most sacred lands. A difficult situation. This is a criminal act, so you are allowed to do to them whatever you want. Their lives are forfeit._";
	text3 = "_As a full [P] of Haven, I'm sure you will be able to deal with this handful of rogues._";
		
begintalknode;
	state = 24;
	nextstate = -1;
	condition = 1;
	question = "_You need to clear them out._";
	text1 = "The smile fades. _I can see why you would say that, but it is impossible. The High Lithans are poor and humble. We have no army. I don't have the forces necessary to take that mighty wall._";
	text2 = "_Even if I did, I would need an order from Raasa Suharum. He is not here._";

begintalknode;
	state = 24;
	nextstate = 10;
	condition = 1;
	question = "_I will try to find a way through._";
	text1 = "_Of course. I wish you success. I'm sure our Raasa would like to speak with you. I can't help, but Governor Ivanna might be able to._";
	
begintalknode;
	state = 24;
	nextstate = -1;
	condition = 1;
	question = "_You are blocking a [P] of Haven. The queen might see this as an act of war. Do you know what that means?_";
	text1 = "The Watcher suddenly grows very serious. Perhaps even afraid. Her voice quavers. _Trust me. We Ro are very aware of the bloodshed and misery Haven can bring to us. You are the one who doesn't seem to know._";
	text2 = "_I can't help you. I don't have the power. Excuse me._ She turns at walks away, visibly shaken.";
	action = END_TALK;
	
begintalknode;
	state = 15;
	nextstate = -1;
	condition = gf(80,12) > 5;
	question = "_I just blew up the wall in the Fangs of Judgment._";
	text1 = "Watcher Iuliana nods. Her expression is completely blank, but her hands have a bit of a tremble. _Haven has showed its ability and resolve. Trust me, [P]. The High Lithans have noticed. Message delivered._";
	text2 = "_I'm sure you will be able to find the Raasa now._";

begintalknode;
	state = 10;
	nextstate = -1;
	condition = gf(43,11) > 0 && gf(80,12) >= 7;
	question = "_I have met Raasa Suharum._";
	text1 = "Watcher Iuliana nods. The smile remains on her face, but you realize you have no way to tell what she is really thinking. _I can't discuss that. This is now a discussion between great powers, and it is not my place to be involved._";
	text2 = "Great powers? Strange.";

begintalknode;
	state = 10;
	nextstate = 17;
	condition = gf(43,11) > 0;
	question = "_You are a Watcher._";
	text1 = "_That is my title and my purpose. Raasa Suharum uses me to watch the Rokaj. He can't give his opinions to the other Raasas without staying fully aware of what is happening in our land._";
	text2 = "_When something seems amiss, a Watcher is sent to investigate, so that the High Lithans can judge. Our Raasa sends me out seldom. Only for the most important matters. It is an honor._";

begintalknode;
	state = 17;
	nextstate = -1;
	condition = 1;
	question = "_How does one become a Watcher?_";
	text1 = "_One must be hardy, to travel our roads. One must be bold, though that is common enough for the Ro. And, most importantly, one must be able to talk confidently and well._";
	text2 = "_That last quality is uncommon in our cold land._";
	
begintalknode;
	state = 17;
	nextstate = -1;
	condition = 1;
	question = "_Why are you suited for the job?_";
	text1 = "_I love to talk, and I love to travel. People like me become merchants, Eruds, or Watchers. Penning us up in a small cabin, with only ice fishing to break the monotony, tends to drive us mad._";
	
begintalknode;
	state = 17;
	nextstate = 18;
	condition = 1;
	question = "_Do you go to all of the provinces?_";
	text1 = "_I do. In the Ro, trouble can appear anywhere, at any time. I don't mind. The Pilgrimage Road is easy to travel._";
	text2 = "_It is only awkward when I go to the Low Dhaga._";
	
begintalknode;
	state = 18;
	nextstate = 17;
	condition = 1;
	question = "_Why is the Low Dhaga awkward?_";
	text1 = "_The men there don't care to answer to a woman. That is why I often go there. They must always be reminded that they don't get to choose their Watchers._";

begintalknode;
	state = 17;
	nextstate = 19;
	condition = 1;
	question = "_Who are you watching now?_";
	text1 = "_Raasa Suharum asked me to watch our own land. I watch the High Litha now. These peaks are where our honored dead are buried. Normally, they are quiet. Lately, the spirits are restless._";

begintalknode;
	state = 19;
	nextstate = -1;
	condition = 1;
	question = "_You have lots of ghosts up here._";
	text1 = "_This peak is a magical place, and centuries of dead have been brought here. Ghosts are the natural result._";

begintalknode;
	state = 19;
	nextstate = 20;
	condition = 1;
	question = "_How are they restless?_";
	text1 = "_Travel and you will see. They emerge from the rock, and they judge us. They howl. They shout. Sometimes, they attack. It happens from time to time. We need to know if this is just one of the regular tantrums they have from time to time, or if they have a message for us._";

begintalknode;
	state = 20;
	nextstate = -1;
	condition = 1;
	question = "_And what are you going to do?_";
	text1 = "_Me? I watch. When the Raasa returns, I will say what I learned. Dealing with shades is the job of our Misttalkers. They have a hall in Jajayim. They can tell you more, if you are interested._";

begintalknode;
	state = 10;
	nextstate = 21;
	condition = gf(43,11) > 0;
	question = "_I want to ask about something._";
	text1 = "_Of course. I know that my Raasa would want me to tell you everything I can._";
	text2 = "";

begintalknode;
	state = 21;
	nextstate = -1;
	condition = gf(3,12) == 4 && gf(43,27) == 0;
	question = "_I am looking for a package of herbs that was never delivered to [F3]._";
	text1 = "Watcher Iulianna is confused. _You are aware that a Raasa is a king, yes? With all respect, we do not usually bother to track merchant caravans. We have more important things to do._";
	text2 = "_Perhaps ask among the merchants?_";

begintalknode;
	state = 21;
	nextstate = -1;
	condition = 1;
	question = "_Tell me about the High Litha._";
	text1 = "_You have seen enough of it to know that this is a cold and difficult land. We have few people and resources. Our main source of wealth is quicksilver._";
	text2 = "_Our main resource, however, is tradition. We keep the old ways of the Ro. We never deviate from them. Thus, we provide our people with good examples and instruction. We do all we can to be worthy of that honor._";

begintalknode;
	state = 21;
	nextstate = -1;
	condition = 1;
	question = "_Tell me about this hall._";
	text1 = "_It is old, as you can see. Humble. Fairly quiet. Were the Raasa here, you would see many meetings. Councils of judgment. More celebrations than you might think. It is a significant place._";

begintalknode;
	state = 21;
	nextstate = 22;
	condition = gf(80,12) >= 3 && gf(80,12) <= 5;
	question = "_I want you to open the gate in the Fangs of Judgment._";
	text1 = "_I can't. I don't have the forces, and I don't have permission._";

begintalknode;
	state = 22;
	nextstate = 21;
	condition = 1;
	question = "_How do I pass it?_";
	text1 = "_Sadly, it is the only safe route upward. Haven will have to solve this problem themselves. You should talk to your governor._";
	text2 = "";

begintalknode;
	state = 21;
	nextstate = -1;
	condition = gf(80,12) >= 3;
	question = "_Raiders tried to assassinate me._";
	text1 = "_A shameful act. No cautious Ro would encourage that. I hope your attackers get the justice they deserve._";

begintalknode;
	state = 21;
	nextstate = 23;
	condition = gf(80,8) >= 4 || gf(10,11) >= 2;
	question = "_Raasas are being assassinated._";
	text1 = "_I have heard the news from downward. It is a sad thing. Sometimes Raasas need to be killed, yes, but not without much discussion and sorrow._";
	text2 = "_Happily, Raasa Suharum doesn't need to worry._";

begintalknode;
	state = 23;
	nextstate = 21;
	condition = 1;
	question = "_Why are you so sure?_";
	text1 = "_The High Lithans are the conscience of the Rokaj. For one of the downward provinces to pass judgment on us and kill our leader? Unthinkable. Or, at least, it would take a meeting on Prova Krug._";

begintalknode;
	state = 21;
	nextstate = -1;
	condition = gf(80,12) < 8 && gf(92,8) > 0;
	question = "_Have you heard of someone called 'The Wolf'?_";
	text1 = "She thinks about it for a while. Or convincingly pretends to. _No. I do not recognize the title. It's sort of an arrogant title to take, don't you think?_";

begintalknode;
	state = 21;
	nextstate = 10;
	condition = 1;
	question = "_I have no more questions._";
	text1 = "_I hope I was helpful._";

begintalknode;
	state = 10;
	nextstate = -1;
	condition = gf(43,11) > 0;
	question = "_That is all._";
	text1 = "_All right, [P]. Thank you for the honor of your visit._";
	action = END_TALK;

	
// Ivanna

begintalknode;
	tag = 40;
	state = -1;
	nextstate = 40;
	condition = 1;
	question = "Name";
	text1 = "The governor of the High Litha is sitting at the end of a large table. The hall is as opulent as can be managed here. Shoddy by Havenite standards, but it still stands out in this icy wasteland.";
	text2 = "She rises when you approach and bows deeply. She is a stout middle-aged woman. Her skin has been chapped by long years up here in the icy wind.";
	text3 = "You note that she is under heavy guard. _Greetings to you! We are all honored by your visit. I am Governor Ivanna of Haven, protector of the High Litha. We will do all we can to help your mission._";
	text5 = "Governor Ivanna sits with you at the table and has all available luxuries brought to you. It's not much, but it takes the chill out of your bones after your hike through the High Litha.";
	text6 = "She has had piles of books and scrolls placed nearby. Whenever you have a question about resources or logistics, she answers it quickly and accurately._";
	action = INTRO;
	
begintalknode;
	state = 40;
	nextstate = 41;
	condition = gf(80,13) == 0;
	question = "_I am [P] [N] of Haven, here to evaluate your performance._";
	text1 = "Governor Ivanna nods. _That is to be expected. A traditional part of a full diplomatic visit. You will have full cooperation from us. I hope that my performance meets with your approval._";
	text3 = "_First, I imagine that you want a report._";
	
begintalknode;
	state = 40;
	nextstate = 41;
	condition = gf(80,13) == 0;
	question = "_Hello, governor. Let's get this over with quickly._";
	text1 = "Governor Ivanna nods. _I understand that this diplomatic mission came as a surprise to all of us._ She laughs. _I can understand your not wanting to be up here for long. I know you are here to evaluate me. You will have full cooperation from us._";
	text3 = "_First, I imagine that you want a report._";

begintalknode;
	state = 40;
	nextstate = 41;
	condition = gf(80,13) == 0;
	question = "_Hello. I have arrived at this cold, miserable place._";
	text1 = "_I am sure that you have been visiting far more pleasant places recently._ She laughs. _We take no offense. We know what the weather is like._";
	text2 = "_I know you are here to evaluate me. You will have full cooperation from us._";
	text3 = "_First, I imagine that you want a report._";

begintalknode;
	state = 41;
	nextstate = 42;
	condition = 1;
	question = "_Give me your report._";
	text1 = "_The chaos in the other provinces, downward as they say up here, has not spread to the High Litha. No raiders. No warfare. Some rumors of angry ghosts, but that happens every few years._";
	text2 = "_The only concern is ... Well, not a concern. More like a likely inconvenience. It is about Raasa Suharum, leader of the High Litha._";

begintalknode;
	state = 42;
	nextstate = -1;
	condition = 1;
	question = "_Things are really peaceful here?_";
	text1 = "_It has been quiet. Of course, this is the Rokaj. As we learned in the Great Uprising, they can be incredibly angry and seem entirely peaceful._";
	text2 = "_I promise that I have been very alert._";

begintalknode;
	state = 42;
	nextstate = -1;
	condition = 1;
	question = "_Everything seems run-down._";
	text1 = "_This is a poor land. My outpost relies on supplies from the other governors. They have not been generous with us. We make do with what we get._";

begintalknode;
	state = 42;
	nextstate = -1;
	condition = 1;
	question = "_Angry ghosts?_";
	text1 = "_It is a common phenomenon in vassal states. Many of them have traditional lands, and those tend to be placed in areas of great natural magic. The result is shades. They may be ghosts, or they may be mindless magical constructs._";
	text2 = "_They are like the weather here: Unpleasant, but not truly dangerous._";

begintalknode;
	state = 42;
	nextstate = 43;
	condition = 1;
	question = "_What about Raasa Suharum?_";
	text1 = "Governor Ivanna doesn't hide her unease. _I have not spoken to him for weeks. I recently dropped by his hall, only to find that it was mostly abandoned._";
	text2 = "_You will need to hear petitions from the Raasa if you are to complete your diplomatic mission._";

begintalknode;
	state = 43;
	nextstate = 44;
	condition = 1;
	question = "_That is correct._";
	text1 = "_And, importantly, the Raasa knows that. He can ask Haven for anything, yet he is not here. Hmmm. I will make my own inquiries into this._";

begintalknode;
	state = 44;
	nextstate = 40;
	condition = gf(80,12) >= 3;
	question = "_The Raasa may be north, and I must enter the cold highlands._";
	text1 = "You describe the situation as the Fangs of Judgment. Now the governor is genuinely concerned. Irritated, as well. _I apologize. Affairs here are troubled indeed. We must discuss this more._";
	text2 = "_Anyway, welcome to Jajayim. We have warm beds available. Please rest and enjoy our hospitality. I will be available whenever you need me._";
		code =
		if (gf(80,13) == 0)
			sf(80,13,1);
	break;

begintalknode;
	state = 44;
	nextstate = 40;
	condition = 1;
	question = "_Will he be back soon?_";
	text1 = "_If he would miss a meeting with a [P] of Haven, he will likely want to keep missing it. But why? You may need to seek him out. This bears much thought._";
	text2 = "_Anyway, welcome to Jajayim. We have warm beds available. Please rest and enjoy our hospitality. I will be available whenever you need me._";
	code =
		if (gf(80,13) == 0)
			sf(80,13,1);
	break;

begintalknode;
	state = 44;
	nextstate = 40;
	condition = 1;
	question = "_This seems to trouble you._";
	text1 = "_Raasa Suharum may be avoiding you. If this is true ... It's hard to think this is good news, especially considering the raids and other problems. You may need to seek him out. This bears much thought._";
	text2 = "_Anyway, welcome to Jajayim. We have warm beds available. Please rest and enjoy our hospitality. I will be available whenever you need me._";
	code =
		if (gf(80,13) == 0)
			sf(80,13,1);
	break;

begintalknode;
	state = 40;
	nextstate = 45;
	condition = gf(80,13) > 0;
	question = "_Tell me more about yourself, governor._";
	text1 = "She smiles. _It is not an interesting tale. I've heard of your exploits on Sacramentum. I've done nothing so interesting. I have been up here with my husband for many years. This has been a long posting._";
	text2 = "_We have settled in here, as much as we can. It is a hard place to live, but it has its charms._";

begintalknode;
	state = 45;
	nextstate = -1;
	condition = 1;
	question = "_Where did you serve before you came here?_";
	text1 = "_I can hardly remember. Hmm._ She rattles off the names of a few vassals. Small ones. Nothing that stands out as exceptional.";

begintalknode;
	state = 45;
	nextstate = -1;
	condition = 1;
	question = "_How long have you been here?_";
	text1 = "She takes a moment to do the math. _Twenty-three years. Over two decades in the High Litha. I have survived one diplomatic mission already. That was long ago. The eye of the Queen has been turned away from this land for a long time._";

begintalknode;
	state = 45;
	nextstate = -1;
	condition = gf(80,13) < 2;
	question = "_Anything about you I should know about now? History of corruption? Sustained incompetence?_";
	text1 = "She straightens up in her chair and evenly meets your gaze. _If you find any who accuse me, they lie._";
	text2 = "Then she relaxes. _This is a poor land for corruption. Not enough money around for the stealing. Those looking for easy wealth go to richer lands, like the Kranas Woods._";

begintalknode;
	state = 45;
	nextstate = 46;
	condition = 1;
	question = "_Why were you the right person for this job?_";
	text1 = "_A fair question. My predecessor asked for a replacement who was good at being silent. Most governors are arrogant. Big talkers. I am capable of listening. For long stretches, if need be._";

begintalknode;
	state = 46;
	nextstate = -1;
	condition = 1;
	question = "_And why is your silence such an asset in the High Litha?_";
	text1 = "_The High Lithans are a quiet folk. That is because they are arrogant. They think they speak for the whole Ro. They think they are better than us. Better than you._";
	text2 = "_But when you outlast their silence? Actually make them speak and give opinions? They reveal more than they think._";

begintalknode;
	state = 40;
	nextstate = 47;
	condition = gf(80,13) > 0;
	question = "_I want to know more about the High Litha._";
	text1 = "_It is different from the downward provinces. They are fierce, poor, and quiet. They are also proud. They feel they have a different nature than the other Ro. Perhaps they do._";

begintalknode;
	state = 47;
	nextstate = -1;
	condition = 1;
	question = "_What wealth do they have?_";
	text1 = "_The land up here is not rich. Little cropland. Some wood. Their main source of wealth is their cinnabar mines. That is the ore that produces quicksilver._";
	text2 = "_This is also the burial ground from the most honored dead of the Ro. Of course, a proper burial is not free._";

begintalknode;
	state = 47;
	nextstate = -1;
	condition = 1;
	question = "_They are different from the other provinces._";
	text1 = "_Yes. More land. Fewer people. More ... Well, I should let you see for yourself._";
	text2 = "_Just be careful. When they are quiet, they are judging you. Waiting for mistakes._";

begintalknode;
	state = 47;
	nextstate = 48;
	condition = 1;
	question = "_What is the nature of the High Litha?_";
	text1 = "_The Ro of the mountaintop are the keepers of the Deep Truth of the Rokaj. As they will tell you. A lot._";

begintalknode;
	state = 48;
	nextstate = -1;
	condition = 1;
	question = "_A lot?_";
	text1 = "_Oh, yes. You'll find out._";

begintalknode;
	state = 48;
	nextstate = 49;
	condition = 1;
	question = "_I'm not sure what that means._";
	text1 = "She sighs. _Well, what is it to be Rokaj? Why are the people here different from elsewhere? Because of their courage? Their capacity for surprise violence? Their honor and honesty? Their determination to never be conquered forever?_";
	text2 = "_The answer is: What it means to be Rokaj is decided by the cold warriors of the High Litha. That is the Deep Truth of the people._";

begintalknode;
	state = 49;
	nextstate = 50;
	condition = 1;
	question = "_Tell me about the Deep Truth._";
	text1 = "_It is what a Ro secretly believes. They can say anything they want to a conqueror, as long as they never stop believing their own truth. It is a useful skill from a people that are frequently conquered._";
	text2 = "_Visitors can often find it confusing._";

begintalknode;
	state = 50;
	nextstate = -1;
	condition = 1;
	question = "_Confusing how?_";
	text1 = "_It means that most of what the Ro say to you will be a lie. A lie for survival, but still._";
	text2 = "_If you can accept this, they really are a very likable people._";

begintalknode;
	state = 50;
	nextstate = 51;
	condition = 1;
	question = "_And how do the High Litha keep the Deep Truth?_";
	text1 = "_They live like they think the Ro should live, and they expect all Ro to do likewise. When the other Raasas aren't sure what to do, they come to the High Litha. The people here are poor in wealth but incredibly rich in respect._";

begintalknode;
	state = 51;
	nextstate = 40;
	condition = 1;
	question = "_And what should I take from all of this?_";
	text1 = "_Do what I do. Listen much and speak little. Be very careful what you do up here. If the Rokaj make any major decisions about what to do to Haven, those decisions will be made here._";
	text2 = "_Phew. That was a lot of words. I hope I wasn't boring._ She sips some tea.";

begintalknode;
	state = 40;
	nextstate = 52;
	condition = gf(80,13) > 0;
	question = "_I have a question about something._";
	text1 = "_Please ask. If I can give you aid, I will._";

begintalknode;
	state = 52;
	nextstate = -1;
	condition = 1;
	question = "_Your defenses here are quite strong._";
	text1 = "_Really? I believe I am only following procedure. It is always good to look powerful to the vassals._ This is only half the truth, you are sure. These soldiers are on alert. Right now, you have to let it pass.";
	text3 = "She smiles bitterly. _Yes. I have been feeling nervous for some time. Instincts, you know. And now that the High Lithans are challenging our power, it makes sense doesn't it?_";
	action = DEP_ON_SDF 80 12 2;
	
begintalknode;
	state = 52;
	nextstate = 60;
	condition = gf(43,23) == 0;
	question = "_I need supplies._";
	text1 = "_I see. We don't have enough materials here to rebuild the fort, but we do have some wealth, carefully accumulated over years. Honestly, I would prefer to keep it. We will need those funds to pay for aid and to maintain our forces._";
	text2 = "_However, if you requisitioned it ... I could never say no to my [P]._";

begintalknode;
	state = 60;
	nextstate = 52;
	condition = 1;
	question = "_I need everything you can give me._";
	text1 = "_Then I will have the treasure room opened for you. I hope you will only take what you need._";
 code =
 	sf(43,23,1);
 	queen_faction(-2);
 	break;

begintalknode;
	state = 60;
	nextstate = 52;
	condition = 1;
	question = "_You need it more than I do._";
	text1 = "_Thank you for being understanding, [P]._";

begintalknode;
	state = 52;
	nextstate = -1;
	condition = (gf(80,8) >= 4 || gf(10,11) >= 2) && gf(80,12) < 8;
	question = "_Raasas are being assassinated._";
	text1 = "_I heard that. From traveling merchants, not from the Lithans. It is more evidence that things in the Rokaj are ... I don't know. Bad? It is like grabbing at mist, sometimes._";
	text2 = "_A few mad raiders attacking you? Strange, but comprehensible. Killing off the Raasas? We must be very cautious._";

begintalknode;
	state = 52;
	nextstate = -1;
	condition = 1;
	question = "_Heard anything about what's happening back in Haven?_";
	text1 = "_So little news comes up here. I heard rumors that you mother is very ill, but I dismissed them as rumors. I wish your family the best, no matter what._";

begintalknode;
	state = 52;
	nextstate = -1;
	condition = gf(80,12) < 8;
	question = "_What do you think Raasa Suharum's petition will be?_";
	text1 = "She looks away. _I ... I have no idea. I will make no guesses. In the High Litha, it is very important to not give in to their silence. They can use it as a weapon to get you to fool yourself._";

begintalknode;
	nextstate = -1;
	nextstate = 61;
	condition = gf(80,12) < 8;
	question = "_Raasa Suharum has challenged me. I must argue for Haven._";
	text1 = "She is silent for a long time. Finally, she says, _I can't give advice about this. I am a governor. I have limits. I can say this, though._";
	text2 = "_A challenge like this is an insult. Yet, it may be the only way to satisfy the anger of the Rokaj. They seem to have grown very angry indeed. If you reject them ... They will need to be answered in another way._";

begintalknode;
	state = 61;
	nextstate = 52;
	condition = 1;
	question = "_Meaning ..._";
	text1 = "_War._";

begintalknode;
	state = 52;
	nextstate = 61;
	condition = gf(80,12) < 8 && gf(92,8) > 0;
	question = "_Have you heard of someone called 'The Wolf'?_";
	text1 = "She shakes her head. _'The Wolf', you say?_ She makes a note on a piece of parchment. _You know, we never discovered who directed the raids on the Low Dhaga and the Gentle Coast. Who decided to try to kill you and your brother._";
	text2 = "_Perhaps now we know. Maybe._";

begintalknode;
	state = 52;
	nextstate = 40;
	condition = 1;
	question = "_No more questions._";
	text1 = "_I hope I was of use._";

begintalknode;
	state = 40;
	nextstate = 53;
	condition = gf(80,13) > 0 && gf(80,13) < 2;
	question = "_I was sent here to evaluate you._";
	text1 = "_Of course. This is not the first time. When your family visited, almost twenty years ago, Queen Sharyn herself evaluated me._";
	text2 = "_Now I have the honor to answer to her [P]._ She is not afraid.";

begintalknode;
	state = 53;
	nextstate = -1;
	condition = 1;
	question = "_How did your earlier evaluation go?_";
	text1 = "_It is very hard to tell if you are pleasing Queen Sharyn or not._ Don't you know it? _She kept me here, so ... I was adequate?_";

begintalknode;
	state = 53;
	nextstate = -1;
	condition = 1;
	question = "_Why should I keep you in this position?_";
	text1 = "_Because this is a very dangerous time to put someone here who doesn't understand the High Lithans. They are a dangerous people. They are not strong in military power, but the Ro give them absolute respect._";
	text2 = "_Whoever serves here must know to tread very lightly and act in careful and precise ways._";

begintalknode;
	state = 53;
	nextstate = -1;
	condition = gf(43,12) == 0;
	question = "_Anything you care to give me to maintain your current position?_";
	text1 = "She is confused, then disappointed. _[P], I do not bribe. I know it is accepted practice in some places, but if the High Lithans found I gained power that way? They would never respect me again._";
	text2 = "_If you are looking for bribes, I suggest you go to the Kranas Woods, downward._";
	code =
		sf(43,12,1);
		queen_faction(-2);
	break;
	
begintalknode;
	state = 53;
	nextstate = -1;
	condition = 1;
	question = "_How should I decide whether to keep you?_";
	text1 = "_Travel through the High Litha. Talk to people. Learn the situation. Who knows? Perhaps I have been here too long. Perhaps I am the wrong governor for the current crisis._";
	text2 = "_If you choose for me to serve, I will gladly do so._";

begintalknode;
	state = 53;
	nextstate = 40;
	condition = 1;
	question = "_I am considering keeping you in your post._";
	text1 = "_Thank you, [P]. I am honored. To make it final, I'm afraid you must return to General Miranda in [F0]._";
	text2 = "_How else can I help you?_";

begintalknode;
	state = 53;
	nextstate = 54;
	condition = 1;
	question = "_I am considering removing you from your post._";
	text1 = "She nods. _I will not argue or beg. I will only observe that, if you want me replaced, you will have a problem._";

begintalknode;
	state = 53;
	nextstate = 40;
	condition = 1;
	question = "_I'm not sure what to do yet._";
	text1 = "_Then I will leave you to your investigation. I assure you that I won't interfere._";
	text2 = "_How else can I help you?_";

begintalknode;
	state = 54;
	nextstate = 40;
	condition = 1;
	question = "_What problem will I have?_";
	text1 = "_You will first need to find a replacement. Someone who wants the job and will tolerate this grim mountain. The other Havenites serving up here? Well ... They like me, and they only want to leave._";
	text2 = "_Still, if you are determined to replace me? I wish you good luck finding one who can do better._";

begintalknode;
	state = 40;
	nextstate = 55;
	condition = gf(80,13) == 2;
	question = "_I've decided to keep you here as governor._";
	text1 = "She nods. She's not surprised. _Thank you, [P]. I will do my best to justify your trust in me._";
	text2 = "_I only hope I am able to deal with the challenges ahead._";

begintalknode;
	state = 40;
	nextstate = 55;
	condition = gf(80,13) == 3;
	question = "_I've decided that you should be replaced._";
	text1 = "She is surprised and upset, but she maintains her composure. _Then I will train my replacement, and we will retreat to warmer, safer lands. Considering what is happening, I hope my replacement happens soon._";
	text2 = "_I only hope I am able to deal with the challenges ahead._";

begintalknode;
	state = 55;
	nextstate = 40;
	condition = 1;
	question = "_Is that a worry?_";
	text1 = "_I have been here many years, and I thought I understood these people. But now? They are strange to me. I can't read them anymore. I don't know what they are planning. It is ... alarming._";
	text2 = "_You are the [P]. You speak for us here. We are all forced to trust you. Good luck._";

begintalknode;
	state = 40;
	nextstate = 56;
	condition = gf(80,13) > 0 && gf(80,12) >= 3 && gf(80,12) <= 5;
	question = "_I can't explore the High Litha. There is a wall at the Fangs of Judgment._";
	text1 = "You describe the situation to Governor Ivanna in detail. She looks more and more concerned as you describe what happened. _This is so unsettling. The High Lithans closed the Fangs? And they turned away a [P] of Haven?_";
	text2 = "_This is a powerful provocation. It demands a response._";

begintalknode;
	state = 56;
	nextstate = -1;
	condition = 1;
	question = "_Why is this so unsettling?_";
	text1 = "_I see they have tired of my silence. They are provoking us. They are forcing a conflict with their conqueror._";
	text2 = "_We are being tested. So we must ask? Who is testing us? What do we need to prove?_";
	text3 = "She sighs. _And what happens if we fail?_";

begintalknode;
	state = 56;
	nextstate = -1;
	condition = 1;
	question = "_Can't we convince the Rokaj to open the gate?_";
	text1 = "_No. The High Lithans are allowing this blockage. That means we are being forced to act. They will watch us very closely._";
	text2 = "_But this insult ... Haven has waged war for less!_";

begintalknode;
	state = 56;
	nextstate = -1;
	condition = 1;
	question = "_Who do you think is blocking me?_";
	text1 = "_Not the High Lithans themselves. They don't fight alone. They only guide the battle. They allowed someone else to block the Fangs. I wish the Raasa was here._";
	text2 = "She suddenly, for just a moment, loses her composure. _I've been talking to these people for over twenty years! Why would they ignore me like this now?_";

begintalknode;
	state = 56;
	nextstate = 57;
	condition = gf(80,12) < 5;
	question = "_What do you think should be done?_";
	text1 = "Her answer is swift and confident. _We must tell Queen Sharyn III of Haven._";
	text2 = "Her voice is different. Louder, deeper, more confident. She is speaking for the Empire now. You note that every soldier in the room has turned toward her, as if she was a magnet.";
	text3 = "_[P], I strongly recommend that you return to [F0] and use the portal. Return to Sharyn's Palace. What needs to be done now requires permission from the monarch._";
	code =
		if (gf(80,12) == 3) {
			toggle_quest(20,3);
			sf(80,12,4);
			}
	break;
	
begintalknode;
	state = 57;
	nextstate = 58;
	condition = 1;
	question = "_You can get me sent back to the Castle?_";
	text1 = "She nods. _Poor and remote as this land, is, I am still a governor of Haven. When I talk to the mirror, I will get an answer. My request will be answered._";

begintalknode;
	state = 58;
	nextstate = 59;
	condition = 1;
	question = "_You have that much authority?_";
	text1 = "_In this little patch of ice, in the absence of your family, I am a Queen. Governors of Haven are important. I will be heard. I promise it._";
	text2 = "_If I ask, the portal will be opened._";

begintalknode;
	state = 59;
	nextstate = 40;
	condition = 1;
	question = "_What should I do now?_";
	text1 = "_Return to [F0]. Use the portal. Speak with the Queen. I will make sure she is fully briefed when you arrive. Once she speaks, we will know how to respond to this grave insult._";

begintalknode;
	state = 56;
	nextstate = 63;
	condition = gf(80,12) == 5;
	question = "_Queen Sharyn has given her orders. The wall is to be broken._";
	text1 = "_I see. This is ..._ She shakes her head. _The High Lithans? They really value that wall. Yet, they must have known this would happen when they allowed it to be blocked._";
	text2 = "_The Queen is strong and wise. This really is the only choice. Go talk to Counsel Vasilo. He is our mage, and a very powerful one. He ..._ She shakes her head. _Just talk to him. I only wish it had not come to this._";

begintalknode;
	state = 63;
	nextstate = -1;
	condition = 1;
	question = "_Is this war?_";
	text1 = "_Perhaps. Or maybe it will scare the Rokaj enough to make them consider peace. It doesn't matter. They have forced our hand. Now we must show them that they are still our vassal. Excuse me. I must make many plans._";
	action = END_TALK;
	
begintalknode;
	state = 40;
	nextstate = -1;
	condition = gf(48,14) > 0 && (gf(80,12) == 6 || gf(80,12) == 7);
	question = "_The Fangs of Judgment have been broken._";
	text1 = "_Yes. The last wall of the Rokaj. Damaged. Useless for years. Still, they really liked that wall._";
	text2 = "_[P], you have their full attention now. Perhaps Raasa Suharum can finally be located. It is very important to hear what he has to say._";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = gf(80,13) > 0;
	question = "_That is all I need now._";
	text1 = "_Then I wish you safe travels, [P]._";
	action = END_TALK;
	
	
// Counsel Vasilo

begintalknode;
	tag = 70;
	state = -1;
	nextstate = 70;
	condition = 1;
	question = "Name";
	text1 = "There is a young mage of the Haven army wandering around the hall. He must be a recent arrival. He still has a bit of a tan, and he looks cold. When you approach him, he turns and salutes. Your presence is thrilling.";
	text2 = "_Greetings, [P]! I am Counsel Vasilo. I've recently been transferred here. Welcome to the very edge of Empire!_";
	text3 = "He is holding a polished oak staff, and two wands hang from his belt. He's ready to fight.";
	text5 = "Counsel Vasilo is still eager to talk to you. He doesn't seem to be angling for advantage or promotion. He's just generally enthusiastic. _Anything else, [P]? I'm ready to act._";
	action = INTRO;

begintalknode;
	state = 70;
	nextstate = 71;
	condition = 1;
	question = "_What is a Counsel?_";
	text1 = "_An assistant to a governor. Nice position. Gives advice. Does administrative stuff. Judges minor disputes. It's a good stepping stone to being a full governor, for those who want that._";
	text2 = "_Though ... I don't do much of that. I think Governor Ivanna just grabbed me for different skills._";

begintalknode;
	state = 71;
	nextstate = -1;
	condition = 1;
	question = "_So you advise the governor?_";
	text1 = "_I hope not! The governor doesn't want my advice. She's too experienced with these people for me to help. I only just got here!_";

begintalknode;
	state = 71;
	nextstate = -1;
	condition = 1;
	question = "_Why did you choose to come here?_";
	text1 = "_No choice about it. The governor decided she needed another mage, you see. One with my skills. She's been around a while. She's owed some favors._";
	text2 = "_She heard about me, she sent some letters, and she got me hauled into the ice. Made me a counsel because she didn't have one._";

begintalknode;
	state = 71;
	nextstate = -1;
	condition = 1;
	question = "_What skills do you have?_";
	text1 = "_I am a full battle mage of the army of Haven. Specialized in artillery and demolitions. I get sent where someone thinks there'll be a fight._";
	text2 = "_And ... since you're here ... Well, I'm keeping rested and ready._";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "_I'd like to learn about the High Litha._";
	text1 = "_So would I! I haven't been far beyond Jajayim and [F5]. I've been helping to set up an enchantment workshop in the fort. The governor wants all the magical resources she can get._";
	text2 = "_Don't ask me why. Just tell me what needs burning._";

begintalknode;
	state = 70;
	nextstate = 72;
	condition = 1;
	question = "_What is your area of expertise?_";
	text1 = "_Artillery and demolitions. Don't ask me for healing. Don't know the secrets of the ages. I bring fire and lightning. Hopefully at a distance._";

begintalknode;
	state = 72;
	nextstate = -1;
	condition = 1;
	question = "_I would like some training._";
	text1 = "_I'm not a good teacher. I'm barely a good student. Plus, you're a [P]. You have more resources than I._";
	text2 = "_If you want to learn ... I'd go back to the Tower of the Erudico. I hear they are doing some exciting crafting research there. Had to rush through when I came here. Hope to visit there someday._";

begintalknode;
	state = 72;
	nextstate = -1;
	condition = 1;
	question = "_Had to do a lot of that?_";
	text1 = "_I've been in a few battles. Since the Queen got sick, there've been a few minor rebellions. My fire helped keep them minor._";
	text2 = "He mentions your mother very casually. Her illness must be universal knowledge by now.";

begintalknode;
	state = 70;
	nextstate = 73;
	condition = gf(80,12) == 3 || gf(80,12) == 4;
	question = "_There is a large wall keeping me from exploring the High Litha._";
	text1 = "_Really? Tell me more!_ You describe the wall. _Well, they're not supposed to do that. Keep out a [P], I mean. They're the vassals, after all._";
	text2 = "_And that wall ... Big and thick, but old. Probably lots of nice weaknesses within it, for someone skilled enough to find them._";

begintalknode;
	state = 73;
	nextstate = 74;
	condition = 1;
	question = "_You seem intrigued._";
	text1 = "_It sounds like a fantastic job! Worthy of my talents! However, I don't have the authority to attack the Rokaj. I would need permission._";

begintalknode;
	state = 74;
	nextstate = -1;
	condition = 1;
	question = "_What sort of permission? I'm a [P], you know._";
	text1 = "_Talk to Governor Ivanna. She would know all the proper procedure. As for the wall ... This would be a fascinating challenge._ He wanders off, muttering excitedly.";
	action = END_TALK;
	
begintalknode;
	state = 70;
	nextstate = 75;
	condition = gf(80,12) == 5;
	question = "_The Queen wants a certain wall blown up. I need your help._";
	text1 = "_Really? Marvelous! Tell me everything!_ You describe the wall. He grabs a scroll and takes notes. He has you describe the wall. Then he starts doing a lot of math.";
	text2 = "_So this wall ... Big and thick, but old. Probably lots of nice weaknesses within it. I'll do it!_";

begintalknode;
	state = 75;
	nextstate = -1;
	condition = 1;
	question = "_What do you need?_";
	text1 = "_Just my assistants. They've been on ice in [F5], waiting for my command. Go to the wall. We'll meet you there. I've been thinking these Ro need to learn a little humility._";
	text2 = "He grabs his notes and runs off, muttering excitedly to himself. You've made him a very happy man.";
	action = END_TALK;
	code =
		erase_char(4302);
		sf(43,13,1);
		sf(48,13,1);
		toggle_quest(20,5);
	break;
	
begintalknode;
	state = 70;
	nextstate = -1;
	condition = gf(80,12) > 5;
	question = "_Thank you for helping out with that wall._";
	text1 = "_Oh, it was a unique pleasure! I've already sent notes on the feat back to Haven. My work will be studied. Papers will be written!_";
	text2 = "_I'd ask for more work, but I suspect more will be coming soon no matter what I say. I bet the Ro are furious!_";


// Sevrin

begintalknode;
	tag = 100;
	state = -1;
	nextstate = 100;
	condition = 1;
	question = "Name";
	text1 = "The inn of Jajayim is a loud, boisterous place. High Lithans are crowded around you, drinking fermented goo, listening to music, shouting, and getting into good-natured fights. It is a strong contrast to the dour, serious Lithans you see everywhere else.";
	text2 = "Despite constant shouts for his attention, the innkeeper pays close attention to you. He saw the insignia on your shoulder. He knows who you are. _Is an honor to have such a glorious guest here. I am Sevrin, and this is my inn._";
	text5 = "Sevrin has to deal with constant shouts for drinks, charred meat, and so on. He still makes sure to hover around you. He doesn't want a [P] leaving unhappy.";
	action = INTRO;

begintalknode;
	state = 100;
	nextstate = 101;
	condition = 1;
	question = "_Business is good._";
	text1 = "_No, normal, I think. Most outsiders think we Lithans are always quiet. Feel no joy, yes? But we are people. We have all parts of life._";

begintalknode;
	state = 101;
	nextstate = 102;
	condition = 1;
	question = "_Some of which happens here._";
	text1 = "_Yes. Our people come into town. Trade, news, meet with other clans, so on. Then they come to the inn. Celebrate living._";

begintalknode;
	state = 102;
	nextstate = -1;
	condition = 1;
	question = "_How often do High Lithans come into town?_";
	text1 = "_Folk up here stay close to clan, and travel is hard. Still, every Lithan tries to visit town at least twice a year. Helps to stay part of the Ro._";

begintalknode;
	state = 102;
	nextstate = -1;
	condition = 1;
	question = "_What else do people do for fun up here?_";
	text1 = "_Depends on clan. Some clans serious, grim. Others sing every night. We have many sorts, same as all places._ He runs off for a moment to tap a keg.";

begintalknode;
	state = 100;
	nextstate = 103;
	condition = 1;
	question = "_What do you sell?_";
	text1 = "_We do all normal inn business. Bed and sustenance. You are honored guest. Your money no good here._";

begintalknode;
	state = 103;
	nextstate = -1;
	condition = 1;
	question = "_I'd like a room._";
	text1 = "_You not sleep in Haven hall? Well, grab a bed in our common rooms. Poor for you, yes, but Haven has its own ways._";

begintalknode;
	state = 103;
	nextstate = -1;
	condition = 1;
	question = "_I'd like to see your food and drink._";
	text1 = "You are provided with as much inedible pub food and strange Lithan liquor as you desire. Everything you ingest makes the locals accept you a little more.";

begintalknode;
	state = 103;
	nextstate = 100;
	condition = 1;
	question = "_That is all I need._";
	text1 = "_Of course. You are our guest._";

begintalknode;
	state = 100;
	nextstate = 104;
	condition = 1;
	question = "_Heard any rumors lately?_";
	text1 = "_Of course. Inns are places of learning as well as rest. I must apologize, [P]. Tradition is still tradition. For knowledge, I need a tip._";

begintalknode;
	state = 104;
	nextstate = -1;
	condition = 1;
	question = "_I'll pass._";
	text1 = "_Of course. Please enjoy your rest._ He rushes off to serve other customers.";
	action = END_TALK;

begintalknode;
	state = 104;
	nextstate = 105;
	condition = coins_amount() >= 5;
	question = "_Sounds fair._ Pay 5 coins.";
	text1 = "You count out the coins and hand them to the innkeeper. He nods. _I am grateful._";
	code =
		change_coins(-5,FALSE);
	break;
	
begintalknode;
	state = 105;
	nextstate = -1;
	condition = gf(43,14) == 0;
	question = "_What have you learned?_";
	text1 = "_The spirits in the caves are angry. This happens. Even the oldest shades, who have lost speech, come out of the dust. This is strange._";
	action = END_TALK;
	
begintalknode;
	state = 105;
	nextstate = -1;
	condition = gf(43,14) == 1;
	question = "_What have you learned?_";
	text1 = "_There are long tunnels burrowed under all of these mountains. They are very dangerous. Yet, far more people are traveling through them than before._";
	action = END_TALK;
	
begintalknode;
	state = 105;
	nextstate = -1;
	condition = gf(43,14) == 2;
	question = "_What have you learned?_";
	text1 = "_Raasa Suharum has traveled to the northern half of the High Litha. He was recently, briefly seen in Etzalam. He has been upward far longer than usual, and he's shown no sign of returning._";
	action = END_TALK;
	
begintalknode;
	state = 105;
	nextstate = 106;
	condition = gf(43,14) == 3;
	question = "_What have you learned?_";
	text1 = "_The raiders terrorizing folk downward aren't foolish enough to come up here. Our Watchers don't know where they come from, and they are alarmed._";

begintalknode;
	state = 106;
	nextstate = -1;
	condition = 1;
	question = "_Have they learned nothing?_";
	text1 = "_I heard one say she heard someone say that there was a raider commander called 'The Wolf.' Doesn't seem worth mentioning, but you did pay._";
	action = END_TALK;


//

begintalknode;
	tag = 130;
	state = -1;
	nextstate = 130;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 130;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

// Trader Nadine

begintalknode;
	tag = 160;
	state = -1;
	nextstate = 160;
	condition = 1;
	question = "Name";
	text1 = "This trader is a young woman, shorter and more heavyset than the folk of the High Litha. She wears a worn leather jerkin and pants, unusually light for the cold climate. She must be from elsewhere, though the Lithans who come through the store don't seem to mind her presence.";
	text2 = "When you reach the counter, she says, _Welcome, traveler._ She notes the insignia on your shoulder. _Havenite. I am Trader Nadine. Lately of downward, but I've set up a useful little market here. Humble goods, but maybe useful?_";
	text5 = "Trader Nadine continues to deal with her customers. She is very careful to not give you more attention than the others. Eventually, she comes back around to you. _Do you need anything else, Haven?_";
	action = INTRO;

begintalknode;
	state = 160;
	nextstate = 161;
	condition = 1;
	question = "_How is business?_";
	text1 = "_It is very good. Much more than usual. The clans up here are stocking up. They are acting as if winter is close, though it is not. Strange._";
	text2 = "_A lot of caravans are coming through here. Supplying them is profitable._";
	
begintalknode;
	state = 161;
	nextstate = -1;
	condition = gf(3,12) == 4 && gf(43,27) == 0;
	question = "_I am looking for a package of herbs that was never delivered to [F3]._";
	text1 = "You tell her about Sage Rietta's situation. She is highly sympathetic. _Losing medical herbs. That can be very painful. Let me check my records._ She pulls a sheaf of scrolls out from under her counter and spends some time looking through them.";
	text2 = "_Nothing. Not a clue. However, the herbs were being shipped from upward. They would have had to pass through Etzalam, then here. They did not get here. I suggest asking around in Etzalam._";
	code =
		sf(43,27,1);
		toggle_quest(38,6);
	break;
	
begintalknode;
	state = 161;
	nextstate = 160;
	condition = 1;
	question = "_Why do you think that is?_";
	text1 = "_I have no guesses worth saying. I am from the Kranas, so they see me as an outsider. I hear no secrets. Perhaps if I am here ten more years, one of them might trust me._";

begintalknode;
	state = 160;
	nextstate = 162;
	condition = 1;
	question = "_Are you from the High Litha?_";
	text1 = "_Not at all. I'm sure you know that, though. Everyone sees it instantly. I don't have the look._";

begintalknode;
	state = 162;
	nextstate = 163;
	condition = 1;
	question = "_Where, then?_";
	text1 = "_I am from the Kranas Woods. I came up here to run caravans from upward to downward and back. I had good fortune and good success, as you can see._";

begintalknode;
	state = 163;
	nextstate = -1;
	condition = 1;
	question = "_Do lots of outsiders come up here to work?_";
	text1 = "_All of our provinces mistrust and fear each other. We also need each other to survive. Clans are always sending out the young and adventurous to trade with other lands._";

begintalknode;
	state = 163;
	nextstate = 164;
	condition = 1;
	question = "_What do you think of the High Lithans?_";
	text1 = "_They trade with us. They like our wood, our food, our goods. They also think they are superior to us. Things will change._";

begintalknode;
	state = 164;
	nextstate = -1;
	condition = 1;
	question = "_What will change?_";
	text1 = "_The wealth Haven brings softens us all. The Gentle Coast might as well not be Ro. The Kranas and the Low Dhaga hang on, but they are fading. Soon, even the grim folk up here will eat dainties and wear stylish clothes._";
	text2 = "_Gold changes everything._";

begintalknode;
	state = 160;
	nextstate = 165;
	condition = 1;
	question = "_I'd like to trade with you._";
	text1 = "_Of course! It would be an honor, Haven. A bit of gratitude for all your Empire has done for us._";

begintalknode;
	state = 165;
	nextstate = -1;
	condition = 1;
	question = "_Let me see what you have for sale._";
	text1 = "You conclude your business.";	
	code = 
		begin_shop_mode("Trader Nadine",
		  "shopdesc.",
		  30,4,0);	
	break;

begintalknode;
	state = 165;
	nextstate = -1;
	condition = 1;
	question = "_I have something to sell._";
	text1 = "You conclude your business.";	
	code = 
		start_alter_items(0);
	break;

begintalknode;
	state = 165;
	nextstate = -1;
	condition = 1;
	question = "_That is all I need._";
	text1 = "_Thank you for the honor of your visit._";
	action = END_TALK;
		
// Misttalker Iaros

begintalknode;
	tag = 190;
	state = -1;
	nextstate = 190;
	condition = 1;
	question = "Name";
	text1 = "There is an old man sitting crosslegged in front of one of these statues. At first, you think he is just being quiet and reserved. Then you see that he is exhausted, barely staying awake. There is a bandage on his arm. A hearty meal has been laid out before him.";
	text2 = "When you walk up behind him, he snaps awake, though he doesn't turn to look up at you. _Haven,_ he says slowly. _I thought you would come. I am Misttalker Iaros. Our Raasa would want me to explain our ways. So I will. I'm sure you want knowledge._";
	text5 = "Misttalker Iaros continues to stare up at the statue. He's trying to make it look like he is meditating, but you suspect he's just exhausted.";
	text6 = "Occasionally, he nibbles at some of the food set before him. Assistants frequently refill his plates and check his bandages.";
	action = INTRO;

begintalknode;
	state = 190;
	nextstate = -1;
	condition = gf(43,15) == 0;
	question = "_Tell me about Misttalkers._";
	text1 = "_The High Litha is the burial land of the Rokaj. It is a land of ghosts. They come to wander, or give us wisdom, or torment us. Some of us have the gift of understanding them. Misttalkers._";
	text2 = "_We talk to the shades. We tame the shades._";
	code =
		sf(43,15,1);
	break;

begintalknode;
	state = 190;
	nextstate = -1;
	condition = gf(43,15) == 0;
	question = "_I'm just walking around and talking to everyone._";
	text1 = "Iaros continues to speak as if you had said nothing. _The High Litha is the burial land of the Rokaj. It is a land of ghosts. They come to wander, or give us wisdom, or torment us. Some of us have the gift of understanding them. Misttalkers._";
	text2 = "_We talk to the shades. We tame the shades._";
	code =
		sf(43,15,1);
	break;
		
begintalknode;
	state = 190;
	nextstate = 191;
	condition = gf(43,15) > 0;
	question = "_Only your kind can deal with the shades._";
	text1 = "_Only our kind can do so and remain under control. Any of us can face a shade. The High Litha has many tales of how badly that can go._";
	text2 = "_Misttalkers can face them._";

begintalknode;
	state = 191;
	nextstate = -1;
	condition = 1;
	question = "_Could I learn how to do that?_";
	text1 = "Iaros slowly shakes his head. _The mountain folk are the heart of the Ro. The shades respect only us._";

begintalknode;
	state = 191;
	nextstate = -1;
	condition = 1;
	question = "_How did you become a Misttalker?_";
	text1 = "_I proved myself at a young age. I found a lost, crying ghost in the mist. She kneeled to me. I comforted her. That was when all knew what I would be._";

begintalknode;
	state = 190;
	nextstate = 193;
	condition = gf(43,15) > 0;
	question = "_You talk to the shades._";
	text1 = "_I talk to them. Sometimes, they talk back. I hear what they say. I caution them. I learn their lessons._";

begintalknode;
	state = 193;
	nextstate = -1;
	condition = 1;
	question = "_Do many shades roam the High Litha?_";
	text1 = "_Not always. Usually, they rest. In times of ... of uncertainty, more come out._";
	text2 = "He looks down at the bandage on his arm. _Of late, there have been many shades. They are angry. That is why so few Misttalkers are here. They are all out calming the dead._";

begintalknode;
	state = 193;
	nextstate = 195;
	condition = 1;
	question = "_What do you learn from the shades?_";
	text1 = "_Shades are like people. They have opinions. Lots of opinions. If one feels so strongly about something that they return from the dead to say it, it's wise to at least listen._";

begintalknode;
	state = 195;
	nextstate = 193;
	condition = 1;
	question = "_Are all shades helpful?_";
	text1 = "_No. Some are dumb. However, some carry great wisdom. If they are angry about the path the living are taking, we must listen to them. Maybe not obey, but listen._";

begintalknode;
	state = 193;
	nextstate = 194;
	condition = 1;
	question = "_Do all shades talk?_";
	text1 = "_No. There are three sorts of shade. One is the speakers, who we listen to. Once their message is given, they are eager to rest once again._";

begintalknode;
	state = 194;
	nextstate = -1;
	condition = 1;
	question = "_What are the other two sorts of shade?_";
	text1 = "_There are the old ones, who have lost knowledge of speech. They have also lost thought. They are mad, and they must be returned to rest._ He looks at his wounded arm. _This can be difficult._";
	text2 = "_Then there are magical constructs, who are not spirits of the dead. These can be ... well, anything, really. Helpful or harmful._";

begintalknode;
	state = 190;
	nextstate = 195;
	condition = gf(43,15) > 0;
	question = "_You tame the shades._";
	text1 = "_It is necessary sometimes. Especially lately. The shades have grown angry of late. When a shade would harm the living, it must be returned to rest. Hurting the living is not allowed._";

begintalknode;
	state = 195;
	nextstate = -1;
	condition = 1;
	question = "_What was your last mission?_";
	text1 = "_Misttalkers do not share our craft with outsiders._";

begintalknode;
	state = 195;
	nextstate = -1;
	condition = 1;
	question = "_Is it draining work?_";
	text1 = "_When we talk and learn, it is true joy. When we must punish those who are lost forever to rage, it is exhausting and painful. Though there is satisfaction in protecting the living._";

begintalknode;
	state = 195;
	nextstate = -1;
	condition = 1;
	question = "_Do you ever get help from outsiders?_";
	text1 = "Now, a long, awkward pause. _Yes, but rarely. Only in special circumstances._";
	text2 = "_Though ... One of those circumstances has arisen. We can discuss it more._";
	code =
		if (gf(43,15) == 1)
			sf(43,15,2);
		if (gf(43,15) > 2)
			rs(2);
	break;
	
begintalknode;
	state = 190;
	nextstate = 196;
	condition = gf(43,15) == 2 || gf(43,15) == 3;
	question = "_You could use help from an outsider?_";
	text1 = "_There is one place where the shades are particularly angry. They emerge from the stone, desiring nothing but blood._";
	text2 = "_Their rage is directed at Haven. The presence of Haven draws them out._";

begintalknode;
	state = 196;
	nextstate = -1;
	condition = gf(43,15) == 2;
	question = "_That is worrying. I'd better not get involved._";
	text1 = "_That is the sort of choice an outsider would make. I respect it. I have nothing more to say._";
	action = END_TALK;

begintalknode;
	state = 196;
	nextstate = 197;
	condition = 1;
	question = "_Explain._";
	text1 = "_To the west is an ancient fortress of the Ro. Hraxamus, it was called. When the Ro rose up in the Great Uprising, this was one of their last refuges. Haven destroyed the fort and killed all it found._";
	text2 = "_The ghosts are still there, lost to rage, ready to kill at random and then hide in the rock. I think a Havenite can actually pull them out of hiding and destroy them._";
	code = 
		set_flag(43,15,3);
		toggle_quest(47,1);
	break;

begintalknode;
	state = 197;
	nextstate = -1;
	condition = 1;
	question = "_You would destroy the spirits of rebels?_";
	text1 = "_Not destroy. Return to rest. They cry and cry for rebellion. The long peace has enraged them enough that they even kill Ro. This can't be tolerated._";

begintalknode;
	state = 197;
	nextstate = -1;
	condition = 1;
	question = "_How can I draw out the ghosts?_";
	text1 = "_Just wander in the ruin. I am confident that they can't resist the lure of Havenite blood._";

begintalknode;
	state = 197;
	nextstate = 198;
	condition = 1;
	question = "_And you just want me to destroy the ghosts of the rebels._";
	text1 = "_Not destroy. Return them to rest. Though doing this does require blows and fire. If their leader emerges to confront you, you can break these spirits forever._";
	text2 = "_It is sad, but necessary. They are heroes, after all._";

begintalknode;
	state = 198;
	nextstate = -1;
	condition = 1;
	question = "_I don't see them that way._";
	text1 = "_Understandable. However, they died for what they saw as the Deep Truth of the Rokaj. In this land, they will always be honored._";

begintalknode;
	state = 190;
	nextstate = 199;
	condition = gf(43,15) == 3 && gf(28,11) > 0;
	question = "_I have tamed the spirits of Hraxamus._";
	text1 = "You tell the story to Misttalker Iaros. You get almost no response. Just the occasional nod. When you are done, he says, _You have done what I asked you to do._ There is a long, long pause.";

begintalknode;
	state = 199;
	nextstate = -1;
	condition = 1;
	question = "_And?_";
	text1 = "_Oh. Yes. I imagine you want a reward. Of course, any salvage you found in Hraxamus is yours. In addition ..._ He gets up with great difficulty and leaves the chamber. Eventually, he returns with a satchel. It contains a flask, a scroll, and a fair amount of silver.";
	text2 = "_Here is your bounty. I hope this satisfies you, in case fighting our rebels again was not reward enough._ He sits down again.";
	code = 
		set_flag(43,15,4);
		toggle_quest(47,10);
		award_party_xp(MED_QUEST_XP);
		reward_give(408);
		change_coins(150,TRUE);
		change_crafting(0,0,0,0,1);
	break;		

begintalknode;
	state = 190;
	nextstate = -1;
	condition = gf(43,15) == 4;
	question = "_I'm looking for more gainful employment._";
	text1 = "_Asking for help from outsiders is a last resort. We are not desperate yet._";


// Kieron Stoff

begintalknode;
	tag = 220;
	state = -1;
	nextstate = 220;
	condition = 1;
	question = "Name";
	text1 = "This man's nice clothes and properly cut hair make him stand out painfully in the inn. He is a man of the Gentle Coast, eating and drinking alone in a corner, growing increasingly angrier.";
	text2 = "When he recognizes you, he cheers up instantly. He motions for you to join him. _This is an honor. Such an honor. I can barely ... Sorry. I am Kieron Stoff, of the High Litha but recently of the Gentle Coast. Here in Jajayim for trade and help._";
	text3 = "_I'm glad for company. I'm not good enough for the Lithans to talk to me, as you can see._";
	text5 = "Kieron Stoff eats, drinks, and chats heartily. He talks mainly about the problems with his clan's claim and how much he misses the coast. The Lithans ignore him as much as possible, a fact he deeply resents.";
	action = INTRO;

begintalknode;
	state = 220;
	nextstate = 221;
	condition = 1;
	question = "_I am a [P] of Haven._";
	text1 = "Kieron takes a swig from his drink. _Really? And yet you came up to this icy waste? You must be forced to be here._";

begintalknode;
	state = 221;
	nextstate = -1;
	condition = 1;
	question = "_That is true._";
	text1 = "_Well, at least you get to leave eventually. I can't go until I prove a success to my clan._";

begintalknode;
	state = 220;
	nextstate = 222;
	condition = 1;
	question = "_You seem upset._";
	text1 = "_Of course. I can only take so much! I have traveled all over the Rokaj. I serve my clan. I bring wealth. In return, I get nothing but contempt, just because the Gentle Coast knows how to dress well and pay attention to the world._";

begintalknode;
	state = 222;
	nextstate = -1;
	condition = 1;
	question = "_How do the other provinces treat you?_";
	text1 = "_Like something they scraped off of their shoe. They're nothing compared to the High Litha, though._";

begintalknode;
	state = 222;
	nextstate = 223;
	condition = 1;
	question = "_How do the High Lithans act?_";
	text1 = "_To the mighty, wise, arrogant High Lithans, the Gentle Coast are the lowest ... They think we have no Deep Truth. They think we are outsiders, not Ro at all. Maybe not even human._";
	text2 = "_And you? You've been to my home. What did you think?_ You suspect that the other patrons, loud as they are, are eavesdropping.";
	code =
		if (gf(43,17) > 0)
			rs(2);
	break;
	
begintalknode;
	state = 223;
	nextstate = -1;
	condition = gf(43,17) == 0;
	question = "_I'd rather not say._";
	text1 = "Kieron Stoff shakes his head and leans forward. _You don't want news to spread that you're a coward, do you? If you want to own the Ro, you owe us plain talk, at least._";

begintalknode;
	state = 223;
	nextstate = -1;
	condition = gf(43,17) == 0;
	question = "_The Gentle Coast is weak and soft._";
	text1 = "_I appreciate your honesty. Yet, the Gentle Coast is the only place in the Ro that truly values and respects Haven. Not just on the surface. That's the justice of the world for you._";
	code =
		sf(43,17,1);
		ro_faction(2);
	break;

begintalknode;
	state = 223;
	nextstate = -1;
	condition = gf(43,17) == 0;
	question = "_The Gentle Coast is the only civilized part of the Rokaj._";
	text1 = "_At least someone sees it. The Gentle Coast is the only place in the Ro that truly values and respects Haven. Not just on the surface. You should appreciate us._";
	code =
		sf(43,17,1);
		ro_faction(-2);
	break;
	
begintalknode;
	state = 220;
	nextstate = 224;
	condition = gf(43,16) <= 1;
	question = "_You mentioned that you are looking for help?_";
	text1 = "_We are, and we will pay a hearty bounty for it. My clan has a new quicksilver mine on this miserable peak. The Oravera Claim. However, it is ... troubled. Overrun._";

begintalknode;
	state = 224;
	nextstate = 225;
	condition = 1;
	question = "_Tell me about the Oravera Claim._";
	text1 = "_Like every mine, cave, and remote outpost in the High Litha now, it is full of angry ghosts. They're everywhere, like cockroaches. We need to drive them out if we're going to get proper value out of our mine._";
	text2 = "_The Misttalkers won't help, so we need mercenaries. Perhaps, lofty as you are, our quicksilver might be valuable to you._";
	code = 
		set_flag(43,16,1);
		toggle_quest(48,1);
	break;

begintalknode;
	state = 225;
	nextstate = -1;
	condition = 1;
	question = "_What did the Misttalkers say?_";
	text1 = "_They say they will come and help. I don't believe them. We're from the Gentle Coast. They enjoy it when we suffer._";

begintalknode;
	state = 225;
	nextstate = -1;
	condition = 1;
	question = "_Tell me about the shades. What do they say?_";
	text1 = "_Nothing! They're the ... the old sort. Very old. All their humanity is gone. They just run around and break things._";
	text2 = "_They aren't very dangerous, but there are a lot of them._";

begintalknode;
	state = 225;
	nextstate = -1;
	condition = 1;
	question = "_How did you anger the shades?_";
	text1 = "_Just by being there. They're not big thinkers. However ... When we dug a new shaft, we did sort of break into their caves. We found a very old crypt. That will take some dealing with._";
	
begintalknode;
	state = 220;
	nextstate = -1;
	condition = gf(43,16) == 1 && gf(44,11) > 0;
	question = "_The Oravera Claim has been cleared._";
	text1 = "_Word of your victory has already reached me. My clan is very grateful, and we will send your fort a fair bounty of resources for your aid._ He also gives you a flask from his pack. _To give extra appreciation for the help of Haven._";
	code = 
		set_flag(43,16,2);
		toggle_quest(48,10);
		award_party_xp(MED_QUEST_XP);

		activate_mine_resource(25);
		change_crafting(0,0,0,0,1);
	break;		

begintalknode;
	state = 250;
	nextstate = -1;
	condition = gf(43,16) == 2;
	question = "_I could use more quicksilver._";
	text1 = "_Alas, we are still working to increase our capacity. We don't want to dig too fast, for fear of unearthing more ghosts._";

					
// Erud Oxana

begintalknode;
	tag = 250;
	state = -1;
	nextstate = 250;
	condition = 1;
	question = "Name";
	text1 = "This long hall, safely out in the corner of Jajayim, contains a Erudico workshop. It is full of sparks, hisses, little beasts in cages, and foul-smelling smoke.";
	text2 = "A young High Lithan Erud emerges from the mist to see who is visiting. She inspects you without great concern. _A visitor. Greetings. This is the Hall of the Jajayim Erudico. I am Erud Oxana._ You wait for her to say more. In vain.";
	text5 = "Erud Oxana is unable to maintain concentration on your conversation. She constantly wanders off to tend to experiments, catch escaped creatures, and take notes on little scraps of paper which then get lost.";
	action = INTRO;

begintalknode;
	state = 250;
	nextstate = 251;
	condition = 1;
	question = "_What do you do here?_";
	text1 = "She looks at your armor and weapons. _Nothing that would interest a warrior._";

begintalknode;
	state = 251;
	nextstate = 252;
	condition = 1;
	question = "_Humor me?_";
	text1 = "_We make potions and salves and alchemical reagents. We keep records._";

begintalknode;
	state = 252;
	nextstate = -1;
	condition = 1;
	question = "_What sort of potions do you make?_";
	text1 = "_The potions used to make other potions. We also produce the clarity brew, the drink that brings clarity._";
	text2 = "_We have none to spare. It all goes to the Tower of the Erudico._";

begintalknode;
	state = 252;
	nextstate = 253;
	condition = 1;
	question = "_What sort of records?_";
	text1 = "_History. Treaties. Tales of clans. Very important to the High Litha._";

begintalknode;
	state = 253;
	nextstate = -1;
	condition = 1;
	question = "_Why are they so important?_";
	text1 = "_We are the High Litha. We keep the Deep Truth of the Rokaj, and we judge those who stray from it._";
	text2 = "_To do this job correctly, we need to study a lot of history._";

begintalknode;
	state = 250;
	nextstate = -1;
	condition = 1;
	question = "_Tell me about the Erudico._";
	text1 = "_We are the learners._ She tries to decide how to elaborate, but she soon gets very frustrated. _Go back to the Tower of the Erudico. They are explainers._";

begintalknode;
	state = 250;
	nextstate = 254;
	condition = 1;
	question = "_You produce quicksilver here?_";
	text1 = "_The High Lithans make and trade quicksilver. Our equipment here is for experiments. We produce quality quicksilver in quantity at our mine._";
	text2 = "_Or, we did. We have had troubles._";
	code =
		if ( gf(43,18) > 1)
			rs(2);
	break;
	
begintalknode;
	state = 254;
	nextstate = 255;
	condition = gf(43,18) <= 1;
	question = "_Problems at the quicksilver mine, you say?_";
	text1 = "_Yes. It has stopped producing. Bad for the work of the Erud._";

begintalknode;
	state = 255;
	nextstate = 256;
	condition = 1;
	question = "_Perhaps I can help._";
	text1 = "She thinks about this. _We call it our Foundry. It is west, across the river. If you offer help, we can pay. They can tell you more. They need to help get the ore._";
	code = 
		set_flag(43,18,1);
		toggle_quest(49,1);
	break;

begintalknode;
	state = 256;
	nextstate = -1;
	condition = 1;
	question = "_What is keeping you from getting the ore?_";
	text1 = "_Monsters._";

begintalknode;
	state = 250;
	nextstate = 257;
	condition = gf(43,18) == 1 && gf(46,11) > 0;
	question = "_I cleared the monsters out of your foundry._";
	text1 = "_I have had word. You have helped us._";

begintalknode;
	state = 257;
	nextstate = 258;
	condition = 1;
	question = "_Yes._";
	text1 = "_Yes._ There is a long silence. Does she know about the bounty? Does she care?";

begintalknode;
	state = 258;
	nextstate = -1;
	condition = 1;
	question = "_You need to give me quicksilver now._";
	text1 = "_What? Oh. Yes. A bounty. Of course._ Phew. _I will make sure that quicksilver is delivered to your fort._ You stare at her. She stares back. That seems to be the end of the transaction.";
	text2 = "Eventually, she just walks away.";
	action = END_TALK;
	code = 
		set_flag(43,18,2);
		toggle_quest(49,10);
		award_party_xp(MED_QUEST_XP);

		activate_mine_resource(26);
	break;		

begintalknode;
	state = 250;
	nextstate = 259;
	condition = gf(43,18) == 2;
	question = "_Any other ways that I can help you?_";
	text1 = "_I'm sure there are._";

begintalknode;
	state = 259;
	nextstate = -1;
	condition = 1;
	question = "_Such as?_";
	text1 = "_Oh. I am sure there are ways you can help. I just don't know what they are._";
	text2 = "She walks off.";
	action = END_TALK;
	
// Trader Darmal

begintalknode;
	tag = 280;
	state = -1;
	nextstate = 280;
	condition = 1;
	question = "Name";
	text1 = "You are surprised to find one man working out in the cold. He is inspecting the piles of finished stone blocks by the dock. Heavy cargo like this is carried on barges up the rivers of the Rokaj. Some of it survives the rapids.";
	text2 = "When the man sees you, he shouts a cheerful greeting. He's not a local. He runs up to you. _Welcome, [P] [N] of Haven, son of Darmal. My name is Darmal of the Low Dhaga. I greet you with open arms, clan-cousin!_";
	text5 = "Darmal, your clan-cousin, talks with you happily. This man of the Dhaga barely knows you, but he speaks with the ease and familiarity of family. That is, of course, how he sees himself.";
	action = INTRO;

begintalknode;
	state = 280;
	nextstate = 281;
	condition = gf(43,19) == 0;
	question = "_Clan-cousin?_";
	text1 = "_Yes. In the eyes of the Rokaj, you and I are kin. Sort of. In a way._";

begintalknode;
	state = 281;
	nextstate = 280;
	condition = 1;
	question = "_So you are from my clan?_";
	text1 = "_Oh, no! I wouldn't dare claim that. No, not long before your father was born, our clans split. Still kin, still closely allied, but following separate fortunes. Our clans are cousins. We are allies. Thus, I welcome you as near to kin, honored [P]._";
	text2 = "_I would never presume on this to ask for favors. Though ... Part of the reason I am here is to look for help._";
	code =
		sf(43,19,1);
	break;
	
begintalknode;
	state = 280;
	nextstate = 282;
	condition = gf(43,19) > 0;
	question = "_So, about your clan._";
	text1 = "Darmal says, _We are still in the Low Dhaga. We're stoneworkers and builders. A highly honored trade in our lands, as you may know. We are prosperous, I am happy to say._";

begintalknode;
	state = 282;
	nextstate = -1;
	condition = 1;
	question = "_Your name is Darmal._";
	text1 = "_I have the honor of the same name as your father. Many in the Low Dhaga are named after him, the Ro who mastered Haven._";
	text2 = "That is a very odd way to look at it, but you see no reason to argue the point.";

begintalknode;
	state = 282;
	nextstate = 283;
	condition = 1;
	question = "_Where is my father's clan?_";
	text1 = "_They are outside the Rokaj. After Darmal died, may his spirit rest, there was some resentment against them. It is complicated. They took their weapons and wealth and went into the wilds of the east to form a new city._";

begintalknode;
	state = 283;
	nextstate = -1;
	condition = gf(43,20) == 0;
	question = "_I should meet them. I am part of the Ro._";
	text1 = "_They will be honored by your interest. Perhaps someday you will, when your current work is done._";
	text2 = "";
	code =
		sf(43,20,1);
		ro_faction(2);
	break;

begintalknode;
	state = 283;
	nextstate = -1;
	condition = gf(43,20) == 0;
	question = "_I am not really interested. I am a Havenite now._";
	text1 = "Darmal's mouth hangs open for a bit. _Oh. I ... see. I ... appreciate your frankness._";
	code =
		sf(43,20,1);
		ro_faction(-2);
	break;
	
begintalknode;
	state = 280;
	nextstate = 284;
	condition = gf(43,19) > 0;
	question = "_What brings you to the High Litha?_";
	text1 = "_A number of our clan came. I am in Jajayim on business. I am looking for patrons, High Lithan clans of wealth who wish to buy our building skill. They are always asking for what we can provide. And, well, what we can't._";

begintalknode;
	state = 284;
	nextstate = -1;
	condition = 1;
	question = "_What do they want that you can provide?_";
	text1 = "_Good, solid stone buildings. Good, mortared bricks, that keep out the cold and resist quakes. Our buildings don't just bring beauty and status. They bring health. It's cold, you know._";

begintalknode;
	state = 284;
	nextstate = 285;
	condition = 1;
	question = "_What do they want that you can't do?_";
	text1 = "_They want walls, to defend their clans and cities. Nice, easily defended stone fortifications. However, Haven's law prevents us from building them. Except for your forts, of course._";

begintalknode;
	state = 285;
	nextstate = -1;
	condition = 1;
	question = "_And yet they keep asking._";
	text1 = "_Yes. A lot more recently. The raids that have been happening will make more ask still. It is strange._";

begintalknode;
	state = 280;
	nextstate = 286;
	condition = gf(43,19) == 1 || gf(43,19) == 2;
	question = "_Your clan needs help._";
	text1 = "_We do. It will seem like a small matter to you, and I don't want to act like a poor, begging relation._";

begintalknode;
	state = 286;
	nextstate = -1;
	condition = gf(43,19) == 1;
	question = "_Good. I am busy._";
	text1 = "He is mostly able to conceal his hurt feelings. _Well, it was a great honor to meet you. Good luck in the Rokaj. I must return to work._ He backs away, gives a little bow, and returns to his stone.";
	action = END_TALK;
	
begintalknode;
	state = 286;
	nextstate = 287;
	condition = 1;
	question = "_Perhaps I can help._";
	text1 = "He perks up. _I will tell you what is wrong, then. I did not come upward alone. Several of my clan came with me, bearing the ashes of Gresh. He was our clan leader. Now he is dead._";
	text2 = "_He was brought to be placed in the Common Catacombs._";

begintalknode;
	state = 287;
	nextstate = 288;
	condition = 1;
	question = "_Go on._";
	text1 = "_The spirits are strong in the Catacomb. Sometimes they refuse to accept the unworthy, and they must be challenged. We never thought this would happen with Gresh, a proud warrior of the Low Dhaga. His name is without stain._";
	text2 = "_Yet, the shade turned us away. My clan is there now, trapped outside, unsure what to do._";

begintalknode;
	state = 288;
	nextstate = 289;
	condition = 1;
	question = "_And what can I do about it?_";
	text1 = "_The shades must be challenged. Bravely, armed, in the way of the Ro. We just don't have the strength. You do, clan-cousin. You can help our leader rest where he should._";
	code = 
		set_flag(43,19,2);
		toggle_quest(50,1);
	break;
	
begintalknode;
	state = 289;
	nextstate = -1;
	condition = 1;
	question = "_Am I related to Gresh?_";
	text1 = "_Ah. Well. Let's think about it._ Thus ensues a long conversation, with lots of lists of relatives and attempts to define 'eighth cousin.' Eventually, you must conclude that you have no idea.";
	
begintalknode;
	state = 289;
	nextstate = -1;
	condition = 1;
	question = "_The Common Catacombs?_";
	text1 = "_It is west of here, marked by signs. It is a large tomb for the dead from downward who were honored and honorable Ro but not great heroes._";

begintalknode;
	state = 289;
	nextstate = -1;
	condition = 1;
	question = "_And you need to fight to prove yourself to the shades?_";
	text1 = "_There needs to be a challenge. There can be battle, but not always. The challenger does, however, have to be kin in some way._";
	text2 = "_Happily, clan-cousins count._";

begintalknode;
	state = 280;
	nextstate = -1;
	condition = gf(43,19) == 2 && gf(45,11) > 0;
	question = "_Gresh has been laid to rest._";
	text1 = "You tell the tale. Trader Darmal is greatly relieved. _You have done us a great kindness. Somehow, I will make sure that your clan hears how worthy you are of them._ Odd way to describe a [P] of Haven.";
	text2 = "_Please, let me give you a proper reward._ You receive a pouch of gold coins, a beautiful crystal, and a small piece of deep metal etched with runes. _It was an honor to meet you._";
	code = 
		set_flag(43,19,3);
		toggle_quest(50,10);
		award_party_xp(MED_QUEST_XP);
		reward_give(447);
		change_coins(200,TRUE);
		change_crafting(1,0,0,0,0);
	break;		

begintalknode;
	state = 280;
	nextstate = -1;
	condition = gf(43,19) == 3;
	question = "_What will you do now?_";
	text1 = "_I will stay and trade. The rest of us will return home. Business is good. Orders are coming from everywhere. It is an eventful time in the Ro. Thank you again._ After a bit more talk, he returns to his stone.";
	action = END_TALK;

						
//

begintalknode;
	tag = 310;
	state = -1;
	nextstate = 310;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 310;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";
														
//

begintalknode;
	tag = 340;
	state = -1;
	nextstate = 340;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 340;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";
														
//

begintalknode;
	tag = 370;
	state = -1;
	nextstate = 370;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 370;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";
